#include <iostream>
#include <string>
#include "Employee.h"

using namespace std;

int main()
{
    Employee em1( "Yang", "Ming", 100000 );
    Employee em2( "Chen", "Xin", 100 );

    cout << "Two guys are now employed!" << endl <<endl;

    em1.displayMessage();
    cout << "How rich are you!" << endl;
    em2.displayMessage();
    cout << "Little poor guy ..." << endl;

    cout << "Now I decide to give you two's salary ten percent's rise!!" 
        << endl << endl;

    em1.setSalary( em1.getSalary() * 1.1 );
    em2.setSalary( em2.getSalary() * 1.1 );

    em1.displayMessage();
    em2.displayMessage();

    cout << "Cheer up !";

    return 0;
}
